package com.xinzhi.dao;

import com.xinzhi.model.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {


    User findUserByUsername(String username);

    int insert(User user);

    User findUserByUsernameAndPassword(@Param("username") String username, @Param("password")String password);
}
